package com.shycloud.mido.member.mapper;

import com.baomidou.mybatisplus.annotation.SqlParser;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.shycloud.mido.member.api.entity.SmMemberTeacherGroup;
import com.shycloud.mido.member.api.vo.SmMemberTeacherGroupVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SmMemberTeacherGroupMapper extends BaseMapper<SmMemberTeacherGroup> {

	/**
	 * 分组列表
	 *
	 * @param teacherId
	 * @return java.util.List<com.shycloud.mido.member.api.vo.SmMemberTeacherGroupVO>
	 * @author nianhua.jiang
	 * @date 2020/6/23 15:10
	 */
	@SqlParser(filter = true)
	List<SmMemberTeacherGroupVO> getGroupList(@Param("teacherId") String teacherId);

}